<template>
    <div id="box">
         <el-row>
            <el-col :span="5">
                <el-input v-model="input" placeholder="请输入内容" size="mini"></el-input>
            </el-col>
            <el-col :span="3" :offset="1">
                <el-button type="success" class="button" size="mini" @click='handleSearch()'>查询</el-button>
            </el-col>
            <el-col :span="3">
                <el-button type="success" class="button" @click="handleEdit('添加',null)" size="mini">添加</el-button>
            </el-col>
            <el-col :span="3">
                <div class="grid-content bg-purple-light">
                    <el-button type="success" class="button" @click='exportExcel()' size="mini">导出</el-button>
                </div>
            </el-col>
        </el-row>
    </div>
</template>

<script>
export default {
    name: 'headTable'
}
</script>


<style scoped>
    .button {
        margin-bottom: 10px;
    }
</style>

